package com.asana.resteasy.api.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.google.gson.annotations.SerializedName;

public class Task extends AsanaBean {

	private String id;
	@SerializedName("created_at")
	private Date created;
	@SerializedName("modified_at")
	private Date modified;
	private String name;
	private String notes;
	@SerializedName("completed")
	private boolean complete;
	@SerializedName("completed_at")
	private Date completed;
	@SerializedName("due_on")
	private Date estimated;
	private User assignee;
	private List<User> followers = new ArrayList<User>();
	private List<Tag> tags = new ArrayList<Tag>();
	private List<Project> projects = new ArrayList<Project>();
	private Workspace workspace;
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModified() {
		return modified;
	}
	public void setModified(Date modified) {
		this.modified = modified;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNotes() {
		return notes;
	}
	public void setNotes(String notes) {
		this.notes = notes;
	}
	public boolean isComplete() {
		return complete;
	}
	public void setComplete(boolean complete) {
		this.complete = complete;
	}
	public Date getCompleted() {
		return completed;
	}
	public void setCompleted(Date completed) {
		this.completed = completed;
	}
	public Date getEstimated() {
		return estimated;
	}
	public void setEstimated(Date estimated) {
		this.estimated = estimated;
	}
	public User getAssignee() {
		return assignee;
	}
	public void setAssignee(User assignee) {
		this.assignee = assignee;
	}
	public List<User> getFollowers() {
		return followers;
	}
	public void setFollowers(List<User> followers) {
		this.followers = followers;
	}
	public List<Tag> getTags() {
		return tags;
	}
	public void setTags(List<Tag> tags) {
		this.tags = tags;
	}
	public List<Project> getProjects() {
		return projects;
	}
	public void setProjects(List<Project> projects) {
		this.projects = projects;
	}
	public Workspace getWorkspace() {
		return workspace;
	}
	public void setWorkspace(Workspace workspace) {
		this.workspace = workspace;
	}

	
	
}
